package cn.com.nr.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;


import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 自然资源采集记录
 *
 * @author shaochangyang
 * @email l2l84o7o5@live.com
 * @date 2025-02-08 16:34:41
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("nr_records")
public class NrRecordsEntity extends BaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId("id")
	private String id;

	/**
	 * 批次
	 */
	@TableField("from_topic")
	private String fromTopic;

	/**
	 * 时间
	 */
	@TableField("time")
	private String time;

	/**
	 * 渠道编号
	 */
	@TableField("message_msegtype")
	private String messageMsegtype;

	/**
	 * 摄像头ID
	 */
	@TableField("message_camid")
	private String messageCamid;

	/**
	 * 渠道
	 */
	@TableField("message_channel")
	private String messageChannel;

	/**
	 * 区域编号
	 */
	@TableField("message_areanumber")
	private String messageAreanumber;

	/**
	 * 区域名称
	 */
	@TableField("message_areaname")
	private String messageAreaname;

	/**
	 * 类型
	 */
	@TableField("message_ruleid")
	private String messageRuleid;

	/**
	 * 类型名称， //升降机、转轮、水泥车、运煤车
	 */
	@TableField("message_rulename")
	private String messageRulename;

	/**
	 * 置信度
	 */
	@TableField("message_duration")
	private String messageDuration;

	/**
	 * 置信度
	 */
	@TableField("message_prob")
	private String messageProb;

	/**
	 * 唯一标识
	 */
	@TableField("message_label")
	private String messageLabel;
	
	
	/**
	 * 入区时间
	 */
	@TableField("message_appear")
	private String messageAppear;

	/**
	 * 出区时间
	 */
	@TableField("message_disappear")
	private String messageDisappear;
	
	/**
	 * 图片
	 */
	@TableField("image")
	private String image;

	/**
	 * 企业ID
	 */
	@TableField("nr_endanger")
	private String nrEndanger;

	/**
	 * 税务机关
	 */
	@TableField("taxorgcode")
	private String taxorgcode;

	/**
	 * 计量
	 */
	@TableField("calculate")
	private String calculate;

	/**
	 * field1
	 */
	@TableField("field1")
	private String field1;

	/**
	 * field2
	 */
	@TableField("field2")
	private String field2;

	/**
	 * field3
	 */
	@TableField("field3")
	private String field3;

	/**
	 * field4
	 */
	@TableField("field4")
	private String field4;

	/**
	 * field5
	 */
	@TableField("field5")
	private String field5;

	/**
	 * 是否删除(1未删除；0已删除)
	 */
	@TableField("deleted")
	private Integer deleted;

	/**
	 * 创建人
	 */
	@TableField("create_id")
	private String createId;

	/**
	 * 更新人
	 */
	@TableField("update_id")
	private String updateId;

	/**
	 * 创建来源(1.web 2.android 3.ios )
	 */
	@TableField("create_where")
	private Integer createWhere;

	/**
	 * 创建时间
	 */
	@TableField("create_time")
	private Date createTime;

	/**
	 * 
	 */
	@TableField("update_time")
	private Date updateTime;
	
	
	
	@TableField(exist = false)
	private String createTimeStart;
	@TableField(exist = false)
	private String createTimeEnd;
	
	@TableField(exist = false)
	private String stationName;
	
	@TableField(exist = false)
	private String deptId;
	
	@TableField(exist = false)
	private String deptName;
	
	@TableField(exist = false)
	private String nrEndangerName;
	
	@TableField(exist = false)
	private String station;
	@TableField(exist = false)
	private String taxpayerCode;
	
	@TableField(exist = false)
	private String industry;
	
	@TableField(exist = false)
	private String amount;
	
	
	@TableField(exist = false)
	private Date createTimeEndDate;
	
	@TableField(exist = false)
	private Date createTimeStartDate;
	
	@TableField(exist = false)
	private String count;
}
